<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/10/12 0012
 * Time: 下午 8:48
 */
header('Content-type:text/hyml;charset=utf-8');
$link=mysqli_connect('localhost','root','123456');
if(!$link){
    die('连接数据库失败!'.mysqli_erro());
}
mysqli_query($link,'set names utf8');
mysqli_query($link,'use `incast`');
$sqli='select * from `emp_info`';
$result= mysqli_query($sqli,$link);
$wmp_info=array();
while($row=mysqli_fetch_arroc($res)){
    $emp_info[]=$row;
}
define('APP','incast');
require'./list_html.php';
